#!/bin/bash
tar xf libuv-v1.34.2.tar.gz
cd libuv-v1.34.2
bash autogen.sh
./configure --prefix=$1/usr --disable-static --host=$4
make -j$2
make install
cd ..
rm -rf libuv-v1.34.2
